INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

OXI Opera: how to generate XML from XSLT with a special tag "<?Label&quo

OXI Opera: how to generate XML from XSLT with a special tag "<?Label&quo

OXI Opera: how to generate XML from XSLT with a special tag "<?Label&quo

(OP)
Hi!!!

i'm using a XSLT but i cannot generate the second tag <?LABEL...
that tag is special because is needed for PMS-Opera (management system for hotels).

my scenario is XML to XML

origin XML
<?xml version="1.0"?>
<Client>
   <Item>
    <ClientID>0000105989</ClientID>
    <KeyUser>TDIAZ</KeyUser>
    <Date>2011-06-23</Date>
    <SystemUser>users</SystemUser>
    <LastDate>2011-08-03</LastDate>
    <Name>Liberty Travel</Name>
   <Item>
</Client>

RESULT

bad XML for OPERA
<?xml version="1.0"?>
<Profile>
    <profileID>0000105989</profileID>
    <creatorCode>TDIAZ</creatorCode>
    <createdDate>2011-06-23</createdDate>
    <lastUpdaterCode>users</lastUpdaterCode>
    <lastUpdated>2011-08-03</lastUpdated>
    <genericName>Liberty Travel</genericName>
</Profile>

good XML for OPERA
<?xml version="1.0"?>
<?Label HOTEL|PROFILE|000000000000000323|SUCCESS?>
<Profile>
    <profileID>0000105989</profileID>
    <creatorCode>TDIAZ</creatorCode>
    <createdDate>2011-06-23</createdDate>
    <lastUpdaterCode>users</lastUpdaterCode>
    <lastUpdated>2011-08-03</lastUpdated>
    <genericName>Liberty Travel</genericName>
</Profile>


How can i put that tag <?Label HOTEL|PROFILE|000000000000000323|SUCCESS?> in my result XML?
 

RE: OXI Opera: how to generate XML from XSLT with a special tag "<?Label&quo

This is admittedly a bit hard to find in most references, and one of the least used XSLT elements.  Look here.

Tom Morrison
Micro Focus

RE: OXI Opera: how to generate XML from XSLT with a special tag "<?Label&quo

(OP)
Thanks!!!

You resolve my problem

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close