[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] adding attribute to copy


Subject: RE: [xsl] adding attribute to copy
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 26 Sep 2002 11:20:49 +0300

Hi,

> i guess i have to explain a little more.
> I have a process that transforms an XML file (output coming from lotus
> XML toolkit / lotus notes database ) to a ".fo" document and 
> then into a
> "PDF" with FOP. The XSL Stylesheet used here uses "dxl:" 
> namespace- and
> that works fine-
> There are several sub-processes controlled by a java routine (command
> line) 
> Dumpfiles are created for each step (merges, image-exports etc). So i
> have 4 XML files in whole , 1 for each subprocess. 
> 
> So, now i need a kind of debugging area to test strating from 
> each step
> from the commandline- (not notes) - so i want to start from step 2 for
> example.
> (hope you understand all this ...)

Not really, I'm slow today...

> AND NOW THE PROBLEM IS- the same XSL file, the same java-routine- BUT 
> Different transformation. The <richtext> part and all the children are
> not parsed or interpreted- anything that stands inbetween is just
> outputted as plaintext - and not formatted with .fo commands-
> 
> You see? So, if i add a <richtext 
> xmlns="http://www.lotus.com/dxl"> here
> - it seems to work fine in both areas.... that's what i wanna have.

And the stylesheet I suggested does't change the namespace of the richtext?

> I have just 1 XSL at the moment - INPUT is a merge of 2 XML files- 
> And 1 part here is the richtext element.
> 
> Anyway- why does the namespace thingy work even if i am offline? 
> Why is there an URL if it isnt "needed"?

Sigh... search the web or e.g. XML-DEV archives for an answer; It's just a unique identifier that happens to use URI syntax.
 
J

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords