User Profile

Collapse

Profile Sidebar

Collapse
jamieg99
jamieg99
Last Activity: Dec 12 '07, 01:08 AM
Joined: Dec 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jamieg99
    replied to processing html tags inside xml with fop
    in Java
    After much futzing around with this, I ended up using JAXB to generate the xml I needed and enclosing the HTML data inside CDATA sections.

    I then changed TransformerFact oryImpl to use saxon and process the stylesheet:

    System.setPrope rty("javax.xml. transform.Trans formerFactory", "net.sf.saxon.T ransformerFacto ryImpl");

    And used saxon's saxon:parse() function to further process...
    See more | Go to post

    Leave a comment:


  • You could change the action with javascript to point to different validating actions depending on what you click

    struts-config:

    <form path=/ValidateUpdate" validate="true" type="myClass" name="myForm" scope="request"/>
    <form path=/ValidateSave" validate="true" type="myClass" name="myForm" scope="request"/>...
    See more | Go to post

    Leave a comment:


  • jamieg99
    started a topic processing html tags inside xml with fop
    in Java

    processing html tags inside xml with fop

    Hello,

    I've got an object that's being converted into SAXSource and then converted into a pdf with FOP. Some of the data however is in HTML format inside the xml tags and is being escaped (&gt;, etc) before it transformed.

    I'd like to have this these html tags parsed as actual elements by the stylesheet, which would mean reading it in it's unescaped format, but I can't figure out how to do this. I have "disable-output-escaping"...
    See more | Go to post
No activity results to display
Show More
Working...