Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6716215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:42:23+00:00 2026-05-26T08:42:23+00:00

So I had some stuff to write out. The information was pretty regular, and

  • 0

So I had some stuff to write out.
The information was pretty regular, and fixed format.
(Stats for a creature in an RPG).
So I thought, Xml is a great format for this (better than say Latex).

Here is the result:

<?xml version="1.0" encoding="utf-8"?>
<Entity type="Oni">
  <Fluff>
    <Name>Wakaalu no Oni</Name>
    <Description>
      It is a bit too angular to be human, its limbs look almost sharp.
    </Description>
  </Fluff>
  <Cruch>

    <Rings>
      <Earth Stamina="4" Willpower="4" />
      <Fire Agility="5" Intelligence="4" />
      <Water Perception="3" Strength="3" />
      <Air Awareness="3" Reflexes="4" />
    </Rings>
    <Skills>
      <Skill Name="Jujitsu" Rank="3" />
    </Skills>

    <Defense>
      <ToHit TN="30" />
      <Reduction amount="10, 4 against Jade" />
    </Defense>

    <Wounds>
      <WoundRank penalty="+5" taken="16" />
      <WoundRank penalty="+10" taken="32" />
      <WoundRank penalty="+15" taken="48" />
      <WoundRank penalty="Dead" taken="72" />
    </Wounds>

    <Attacks>
      <Attack Name="Chop/Kick" attack="8k5" Damage="6k3" />      
    </Attacks>

    <Abilities>
      <SpecialAbilities>
        <SpecialAbility name="Honour Of Jidoku">
          <Effect>
            Any time anyone directly causes harm to come to the Oni, 
            they must make a willpower roll + honour,at TN=30.
            If they fail then one of the following affects takes place: (the duration is at the GM's discression). 
            <RolledResultTable>
              <Heading Result="Effect" Roll="1d100" />
              <Line Result="Immediately Lose 1 Point of Honour" Roll="0" />
              <Line Result="Compassion: You must spend a Void point before you are able to act on behalf of someone of lower Status or social caste." Roll="1-10" />
              <Line Result="Courage: When facing an opponent of higher Glory or Status, or when facing a Shadowlands opponent, the TN of all rolls you make is increased by +5." Roll="11-20" />
              <Line Result="Courtesy: Any time you make a Social Skill Roll to apologize or avoid giving offense, you must call a Raise for no effect, or the roll will automatically fail." Roll="21-30" />
              <Line Result="Duty: You cannot spend Void Points to negate Wounds." Roll="31-40" />
              <Line Result="Honesty: You cannot spend Void points on any Sincerity Skill Roll to which the Honesty emphasis could apply (whether or not you have the emphasis)." Roll="41-50" />
              <Line Result="Honor: You cannot add your Honor Rank to any roll to resist Intimidation or Temptation." Roll="51-60" />
              <Line Result="Sincerity: Any time you are rolling the Sincerity Skill to convince someone of what you are saying, you must call an extra Raise for no effect, or the roll automatically fails." Roll="61-70" />
              <Seperator />
              <Line Result="Control: Re-roll any Social Skill Roll, once per session," Roll="71-74" />
              <Line Result="Determination:  Negate all TN/Wound penalties on one Skill or Spell Casting roll, once per session." Roll="75-78" />
              <Line Result="Insight: Re-roll any roll that used the Awareness Trait, once per session." Roll="79-82" />
              <Line Result="Knowledge: Re-roll any roll that used the Intelligence Trait, once per session." Roll="83-86" />
              <Line Result="Perfection: any one die of your choice on a Skill Roll to explode , once per session." Roll="87-90" />
              <Line Result="Strength: Re-roll any damage Roll, once per session." Roll="91-94" />
              <Line Result="Will: negate 10 Wounds at the moment they are suffered, once per session." Roll="94-98" />
              <Line Result="Temporally gain (a rank of) the Perceived Honour advantage." Roll="99" />

            </RolledResultTable>
          </Effect>
        </SpecialAbility>  
      </SpecialAbilities>
    </Abilities>
  </Cruch>
</Entity>

Seems fairly nice. (Though I’m not adverse to changing it around.)
Only thin i’m a bit iffy about is the RolledResultTable.

Anyway, now that I’ve produced such a document I need to put it into more human consumable form.
I am aware there are mechanisms for this. something called a XSLT? I know CSS can be used for this (I tried it once, in a siple way), but I’ve heard the arn’t the advised way of doing things.
The only way I know is to write a C# program that interprets the Xml. (which doesn’t seem like a great solution)
So how to I go about making a nice human readble form out of an XML document?
If not with tables then at least with headings

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:42:24+00:00Added an answer on May 26, 2026 at 8:42 am

    XSLT is used to transform XML into another form. If you want to change that XML into HTML or other typographical forms, XSLT is an excellent way to do so and far easier than trying to reinvent the XSLT wheel with C#.

    CSS is for styling what you have. Setting fonts, adding colors and borders to put it simply. It’s not used to put things into human readable form. XSLT is for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I had to do some very processing heavy stuff with data stored in
If I had some XML such as this loaded into an XDocument object: <Root>
I had some time this afternoon to run a head to head comparison between
I had some site templates designed for me recently. I got the final HTML
I had some problems with my subversion server and i had to restore it
I had some code that ran commands through Runtime.getRuntime.exec(String) , and it worked on
I had some questions regarding the structure and behavior of a model, using UML,
I had some decryption code (using wincrypt.h ) that lived within my FileReader.cpp class.
I had some troubles implementing Lawler's algorithm but thanks to SO and a bounty
I've had some trouble forking of processes from a Perl CGI script when running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.