|
August 4, 2001 XML Namespace for Print Templates Tips: August 2001
Yehuda Shiran, Ph.D.
|
|
When you develop a print template, you need to pay attention to the subject of XML namespace. Your behavior elements should all belong to the same namespace. You enforce it by first specifying the namespace on the first HTML line:
There is nothing special about the IE namespace name. The following line is also OK:
Then, you need to import default behaviors into the IE namespace:
For each reference to a behavior element, you need to add the namespace as a prefix:
Here is HTML code that displays two master pages:
See what the master page looks like. For more information on print templates, go to Column 89, Print Templates, Part I.
People who read this tip also read these tips: Look for similar tips by subject: |