Junior Member
Join Date: Apr 2013
Posts: 12
|
System: Pathfinder
Background: I am writing a class in C# to parse the .xml file out of the .por file. I have accounted for all the fields in the xml file except for 1 <skillabilities/> I have no idea where this is from. I need the schema to this field to complete the class in case it is used. Where is this used? Any Help would be appreciated. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
It's a subset of abilities - those that would be displayed in the skill section of a statblock - they're used to build the list of modifiers that's added after the list of skills.
|
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
In the Help menu, choose "Pathfinder Roleplaying Game Manual", and then scroll down almost all the way, to "Custom Output DTD". That'll give you the DTD for the data you're looking at.
|
#3 |
Junior Member
Join Date: Apr 2013
Posts: 12
|
Does it ever populate?
If so do you have a schema of it or an example I can build a schema from? I need the fields and properties to write a class. Name, text, description, etc and is it a collection. Right now I use this, and always returns null public object skillabilities { get; set; } I need this, Items in red are examples, I need the actuals. public SkillAbilities skillabilities { get; set; } [Serializable] [XmlType(AnonymousType=true)] public class SkillAbilities { public string description { get; set; }[XmlElement("traitcategory")] public string[] traitcategory { get; set; }[XmlAttribute] public string name { get; set; }[XmlAttribute] public string categorytext { get; set; }} An example of the populated xml would also work |
#4 |
Junior Member
Join Date: Apr 2013
Posts: 12
|
Sorry you ninja'd me thanks for the DTD info
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
<!ELEMENTskillabilities ((special*))>
|
#6 |
Junior Member
Join Date: Apr 2013
Posts: 12
|
Thank you very much Mathias, That dtd file was an awesome help after reviewing it I realized I forgot to include the pathfinder society in my code and a couple other things I have not seen in any xml file I have generated.
I wish I had been pointed to that sooner, such is life. I included the file if anyone is interested. |
#7 |
Thread Tools | |
Display Modes | |
|
|