public final class XeLocalhost extends XeWrap
Add this Xembly source to your page like this:
new RsXembly( new XsStylesheet("/xsl/home.xsl"), new XsAppend( "page", new XsLocalhost() ) )
And expect this attribute in the XML:
<?xml version="1.0"?> <?xml-stylesheet href="/xsl/home.xsl" type="text/xsl"?> <page ip="172.18.183.14"/>
The class is immutable and thread-safe.
Constructor and Description |
---|
XeLocalhost()
Ctor.
|
XeLocalhost(CharSequence attr)
Ctor.
|
public XeLocalhost()
public XeLocalhost(CharSequence attr)
attr
- Attribute nameCopyright © 2015 Take. All rights reserved.