Home > Java, Life on Marama, XSLT > Marama Code 120 ~ Creating XSLT Java Template

Marama Code 120 ~ Creating XSLT Java Template

September 29, 2011 Leave a comment Go to comments

I’m creating an XSLT file that create a customise properties view for a list of test in a diagram. The trouble that I faced during my template creation is the ‘<’ tag for ArrayList <String> alString = new ArrayList<String>();. XSLT would read the ‘<’ as one of the processing syntax instead. How to go around this problem?

After reading a couple post on the net and scrolling up and down w3school, I end up using HTML Number to deceive the XSLT processor. Take that XSLT. So, the next time you want to create XSLT template and the processor keep disturbing you, just replace it as HTML code.

Here is my syntax:

ArrayList &#60String&#62 alString = new ArrayList&#60String&#62();

for

ArrayList <String> alString = new ArrayList<String>();

Categories: Java, Life on Marama, XSLT
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.