Jump to content
Sign in to follow this  
Cabinetman

Novice! Not even sure what to call this.

Recommended Posts

XSL style sheet. I'm trying to output something like this:

I can modify evrything but not sure how to get this. I'm getting...

(nothing... here)

My xsl:

Any help is appreciated.

Note: not sure why my xsl here looks different than entered. I'm sure you experts will though.

Edited by Guest

Share this post


Link to post
Share on other sites

I would say that the two things you posted are the same thing, to a modern xml/xsl engine. It's a kind of compacting, leaving off the explicit ending tag, using /> instead; but it means the same thing.

Is it causing a problem somewhere?

Share this post


Link to post
Share on other sites

I guess I understand...

So I don't really have to have the ? It shows in the Documentation from 'DAZzel' as in there .

I didn't try it because when I saw it in my xml I thought it was wrong.....

Is it causing a problem somewhere? Yes

I get delivery confirmation on everything regardless of which package says 'Off' or 'ON'

Edited by Guest

Share this post


Link to post
Share on other sites

I don't really know why it would not be treated the same. Perhaps Dazzle is using some really old xml parser? Here's another thing you can try. Use the tag to explicity declare the , like you did with the attributes.

In other words, instead of just typing in the xsl, use:

put attribute stuff here

Share this post


Link to post
Share on other sites

Well it produces the exact same XML doc. so I don't see how it matters.....

I still get:

SignatureConfirmation="Off" COD="Off"/>

from my xsl file

I just wondered how to get the xsl to produce the part and if it made a difference to their product. I would think they would've had a basic xsl file for people to download as a base but oh well.

I really need to figure this out. I can't have it printing DC#'s for everything in the file!

Edited by Guest

Share this post


Link to post
Share on other sites

Wwwwooooooooo Hhhhhhhhhhoooooooooo

Not sure what I did but it started working right!!!

I did try changing the order of my export. I had the services after my value, etc.

Whatever it was I'm thankful for the help!!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.