清单3显示了通过此样式表传递样例XML的结果。
Listing 3 shows the result of passing the sample XML through this stylesheet.
如果想要在生产应用程序中使用此代码,您应该根据需要修改或扩展此样例。
If you want to use this code in a production application, you should modify or extend the sample as needed.
此函式在检查某特定样版是否存在,可以是在档案系统中某样版的路径或是代表此样版的资源字串。
This function checks whether the specified template exists. It can accept either a path to the template on the filesystem or a resource string specifying the template.
不过,和处理数据库标识保护一样,如果您愿意编写一些自定义代码,就可以实现此功能。
However, as with database identity projection, if you are willing to write some custom code, you can make this work.
像包装程序类一样,虽然此技术满足了您的需要,但是有其自己的缺点。
Like the wrapper class, this technique fulfills your requirements, but it comes with its own disadvantages.
由于源代码全部显示在这里会显得太长,并且此整合样例中未添加任何新函数,因此您可以到下载中找到源代码进行进一步研究。
Since the source code is too big to show here, and there is no new function added in this integration sample, you can find the source code in Downloads for further study.
像涉众设定的任何其他目标一样,此目标必须是可度量的。
This goal, like any other goals set by the stakeholders, has to be measurable.
跟前面一样,现在迭代通过此对象集合并从中摘取出特定帖子的详细信息变得相当容易。
As before, it now becomes quite easy to iterate over this object collection and extract the details of specific posts from it.
为了安全起见,请对所有ID属性设置名称空间,即使此操作会使您的代码像在清单5中看到的一样难于阅读。
To be safe, namespace all ID attributes, even though doing this can make your code difficult to read, as you can see in Listing 5.
像此场景中指定的一样,您希望只获得关于服务器上定义的CICSJ2C资源适配器的信息。
As specified in this scenario, you want to obtain information only about CICS J2C resource adapters defined on the server.
PHP拥有的任何其他打印函数将会像此函数一样运行正常,任何写回文件的函数也是一样的。
Any other printing functions PHP has will work equally well for this, as will any functions that write to files.
与违反了最佳操作的任何其他情况一样,此反模式的根本原因在于缺乏良好的设计。
As with any other situation where best practices are violated, the root cause of this antipattern is the lack of good design.
注意:如果您在执行此任务时遇到问题,您可以下载一个样例插件,此插件为您准备好了所有模型。
Note: If you're having trouble with this task, there is a sample plug-in download that has all the models already made for you.
上述代码会获得请求参数以及图像名称、在数据库中查找它并返回所有有关此图像的信息(由管道符|分隔),正如规范所规定的一样。
This basically grabs the request parameter with the image name, looks it up in the database, and returns all the information about that image, separated by pipes (| s), just like the spec said.
就像规则组一样,每个目标都有一个条目来指定此目标适用的日期范围。
Just like rule groups, each destination has an entry that specifies a range of dates in which this destination would be applicable.
像在战术契约中的一样,此计分卡带来了生动的信息,除了这次它与商业目标之间更量化。
This scorecard, like the one in the tactical engagement, carries a vivid message except this time it is tied more quantitatively to the business objectives.
授权服务也是一样,因为可以在云中或子网中根据事务增长来重用和调整此架构。
The same goes for authorization services, because this architecture can be reused and scaled within a cloud or subnet based on transaction growth.
去年沃尔沃汽车被中国的吉利汽车收购时,瑞典人都在担扰这此的交易对瑞典的汽车行业将会造成什么样的影响.
When Volvo Cars was acquired by Geely of China last year, there was nervousness about what the deal would mean for the Swedish car industry.
与TEP一样,可以使用此策略来设置可信库路径的值,以及启用或禁用该值。
Like TEP, using this policy we can set the value of the trusted library path, enable, it or disable it.
实际上,假定前提条件一样,你是属于平均体重并且能够每天能遵守此计划,你一年内就会减掉15磅。
In fact, assuming everything stays the same and you commit to this plan and are of average weight, you'll lose about 15 pounds in a year.
如同业务状态机一样,我们没有花费大量的时间来研究此编辑器,所以现在让我们来更详细地了解一下此编辑器如何帮助您开发自己的应用程序。
As with business state machines, we didn't spend much time exploring the editor, so let's look in more detail at how the editor helps you develop your applications.
和前一项技术一样,以下显示的XSL方法使用命名键来解决此问题。
As with the previous technique, the XSL approach shown below USES named keys to solve the problem.
特别地,此讨论是关于项目组合管理的,就像最初应用于计划或项目的一样。
Specifically, this discussion is about portfolio management as applied primarily to initiatives or projects.
此解析器跟本文中讨论的其他样例代码一样,可以下载得到。
This resolver, like the rest of the sample code discussed in this article, is available for download.
如果某此谈话,你像查理.布朗一样(注:史努比的主人),以哈,哈。。作为结尾,那这对你会是场灾难,人们会因此而讨厌你
If you end up with a Charlie Brown situation, with the entire class ha-ha-ing, that's a disaster, and people will loathe you for it.
它们可不附加任何基因而被诱导为胚胎样细胞,然后变为胰岛素分泌细胞,加里卡诺说此方法比其它方法更少的诱发恶性肿瘤。
They can be coaxed into an embryonic-like state without any additional genes, and after becoming insulin-producing cells, they produce less cancer than other methods, according to Gallicano.
此结果可以让我们清楚地知道什麽样的因素会让人陷入记忆流失的危机。
The results could paint a clearer picture of the factors that put people in danger.
此反模式和“技术跟风”反模式的环境一样。
This antipattern shares the same context as the Technology Bandwagon antipattern.
不过此规划出台并非由于这座城市对绿色有什么样的信仰,而是有着更加迫切的理由:有别于美国其他东北部的老城市,纽约人口正在急剧膨胀。
It came about not because New York got green religion, but because the population, unlike that in most of America's other large, old, north-eastern cities, is growing.
不过此规划出台并非由于这座城市对绿色有什么样的信仰,而是有着更加迫切的理由:有别于美国其他东北部的老城市,纽约人口正在急剧膨胀。
It came about not because New York got green religion, but because the population, unlike that in most of America's other large, old, north-eastern cities, is growing.
应用推荐